package xian.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders implements Serializable {

    //查询签约记录加的字段
    private Patient patient;
    private Doctor doctor;
    private Ordertype ordertype;
    private String dname;
    private String daddress;
    private String otname;
    private BigDecimal otprice;
    private String pname;
    private Integer oid;

    private Integer did;

    private Integer pid;

    private Integer otid;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime;

    private String ostate;

    private static final long serialVersionUID = 1L;

}